//
//  MineMoneyTableViewCell.m
//  Tongcheng
//
//  Created by 邢广范 on 2017/4/14.
//  Copyright © 2017年 Tongcheng. All rights reserved.
//

#import "MineMoneyTableViewCell.h"

@interface MineMoneyTableViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *moneyLabel;
@property (weak, nonatomic) IBOutlet UILabel *stateLabel;

@end

@implementation MineMoneyTableViewCell

- (void)setModel:(MineMoneyListModel *)model
{
    _model = model;
    self.timeLabel.text = model.adddate;
    self.moneyLabel.text = model.money;
    
}

- (void)setCashingModel:(MineCashingListModel *)cashingModel
{
    _cashingModel = cashingModel;
    self.timeLabel.text = cashingModel.time;
    self.moneyLabel.text = cashingModel.money;
    if ([cashingModel.status  isEqualToString:@"1"]) {
       self.stateLabel.text = @"通过审核";
    }else{
       self.stateLabel.text = @"未审核";
    }
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
